home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / tag_bbs / n120120.zip / MAILER.BAT < prev    next >
DOS Batch File  |  1992-02-09  |  1KB  |  63 lines

  1. :restart
  2. if exist c:\bbs\gfiles\echotoss.log goto outproc
  3. if exist c:\bbs\gfiles\nettoss.log  goto outproc
  4. c:
  5. cd\bbs\binkley
  6. forward
  7. del bbsbatch.bat
  8. bt
  9. c:
  10. cd\bbs\binkley
  11. if exist bbsbatch.bat bbsbatch
  12. if errorlevel 254     goto tag
  13. if errorlevel 100     goto bonk
  14. if errorlevel 90      goto outproc
  15. if errorlevel 80      goto inproc
  16. if errorlevel 10      goto tag
  17. if errorlevel 8       goto clearcount
  18. if errorlevel 7       goto tag
  19. if errorlevel 1       goto tag
  20. goto restart
  21.  
  22. :inproc
  23. c:
  24. cd\bbs\binkley
  25. if exist c:\inbound\*.fle goto fileecho
  26. if exist c:\inbound\*.tic goto fileecho
  27. goto skiptick
  28.  
  29. :fileecho
  30. sds2dir -Fc:\bbs\gfiles -Lsds2dir.log
  31. tick >> tick.log
  32.  
  33. :skiptick
  34. qm toss scan pack -fc:\bbs\tagmail\echo.lst
  35. areafix ec
  36. rem *** this will catch any level greater than 1 and pack again ***
  37. if errorlevel 1 goto needpack
  38. goto skippack
  39.  
  40. :needpack
  41. qm pack
  42.  
  43. :skippack
  44. goto restart
  45.  
  46. :outproc
  47. c:
  48. cd\bbs\binkley
  49. qm scan pack -fc:\bbs\gfiles\echotoss.log
  50. del c:\bbs\gfiles\echotoss.log
  51. del c:\bbs\gfiles\nettoss.log
  52. goto restart
  53.  
  54. :clearcount
  55. del c:\outbound\*.$$?
  56. goto restart
  57.  
  58. :bonk
  59. bonk
  60. goto restart
  61.  
  62. :tag
  63.